module.exports = (sequelize, Types) => {
    const Users = sequelize.define('Users', {
        id: {
            type: Types.INTEGER,
            primaryKey: true,
            autoIncrement: true,
        },
        name: Types.TEXT(8),
        user: Types.TEXT(20),
        password: Types.TEXT(32),
        address: Types.TEXT(50),
        phone: Types.TEXT(11),
        time: Types.DATE,
        shopping: Types.TEXT(1000),
    });
    Users.sync();
    return Users;
};